package com.health.service;

import com.health.entity.Consultingroom;
import com.baomidou.mybatisplus.extension.service.IService;

import com.health.entity.pojo.PageData;
import com.health.entity.pojo.vo.ConsultingroomVO;

import com.health.entity.pojo.vo.ConsultingroomVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yuqingjiang
 * @since 2023-04-17
 */
public interface IConsultingroomService extends IService<Consultingroom> {

    //科室列表查询
    PageData listAllConsultingrooms(Integer pageNum, Integer pageSize);

    //下拉框科室查询
    PageData listSelectConsultingroom(Integer pageNum, Integer pageSize,Long id);

    //编辑科室中二级科室查询
    List<ConsultingroomVO> getConsultingroomByName(Integer i);

    Boolean updateConsultingroom(Integer id);

    List<String> getConsultingRoomsOne();

    List<String> getConsultingRoomsTwo();

    /**
     * @Description: 获取所有的一级科室
     * @return: java.util.List<java.lang.String>
     * @Author: konglz
     * @Date: 2023/4/19
     */
    List<String> getOneConsultRooms();

}
